<?php
/**
 * Created by PhpStorm.
 * User: xiaofeng
 * motto: 现在的努力是为了小时候吹过的牛逼！
 * Date: 2020/9/13
 * Time: 18:59
 */
namespace app\admin\validate;

use think\Validate;

class Category extends Validate{
    protected $rule = [
        'name'=>'require',
        'pid'=>'require'
    ];

    protected $message = [
        'name'=>'分类名称必须',
        'pid'=>'父类ID必须'
    ];
}
